package com.health.vo;


import com.health.entity.Department;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DepartmentVO implements Serializable {
    private String name;   //科室名称

    private Long id;  //科室id
    private List<Department> child = new ArrayList<>(); //下级


}
